
/**
 * @param {*} query_pay 课程是否支付接口
 * @param {*} latest 课程最近购买的人
 */
const OrderService = require('../service/OrderService')

const OrderController = {
    query_pay: async(req, res) => {
        let handleRes = await OrderService.query_pay(req)
        res.send(handleRes)
    },
    latest: async(req, res) => {
        let handleRes = await OrderService.latest(req)
        res.send(handleRes)
    },
    
}
module.exports = OrderController